# 数据库中的用户信息
user_date = "ruiqian"
password_date = "123456"


count = 5
while True:
    # count 自减1：  count -= 1
    count -= 1
    if count == -1:
        print("错五次都没对阿呀！请在5分钟之后再尝试啦亲")
    # 用户登录输入信息
    else:
         username = input("请输入正确的账号：")
         password = input("请输入正确的密码：")
         # 判断账号是否正确
         # 1.账号正确
         if username == user_date:
             # 判断密码是否正确
             # a.密码正确
             if password == password_date:
                 print("登录成功，欢迎", user_date, "使用~~")
                 break
             # b.密码不正确
             else:
                 print("账号或密码输入错误！请重新输入,您还有", count, "次尝试机会")
         # 2.账号不正确
         else:
             print("账号或密码输入错误！请重新输入,您还有", count, "次尝试机会")


import datetime
time = datetime.datetime.today().weekday()
week_time = int(time)
print(week_time)
if week_time==1:
    print("monday,two");print("6-7写作训练");print("8-10python")
elif week_time==2:
    print("tuesday,one");print("8-10网站运营")
elif week_time==3:
    print("wednesday,three");print("1-2篮球");print("4-5英语");print("12-14创业基础")
elif week_time==4:
    print("thursday,three");print("3-5毛理");print("8-9广告文案写作");print("12-13东亚文化")
elif week_time==5:
    print("friday,two");print("4-5ai");print("8-9英语")
else:
    print("saturday,sunday");print("break")
print("FINISH")

